
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>退货出库单</title>
<script type="text/javascript" src="../script/common.js"></script>
<script type="text/javascript" src="../script/print.js"></script>
<script type="text/javascript" src="../script/pivot.js"></script>
<script type="text/javascript" src="../script/crosstab.js"></script>


<script type="text/javascript">

	var giftId = parent.giftId //getPara("billId");
	var printQueryName;
	
	function load(){
		printQueryName = "gift_outstore";
		Eui.getBillHtml('content',getBillParams());
	}
	var crosstab = new Crosstab();
	
	function getBillParams(){
		return {queryName:printQueryName,
		id:giftId}
	}
	function exportBillToPdf(){
		var params = getBillParams()
		params.exportType = "pdf"
		Eui.exportBill(params);
		
	}
</script>
</head>
<body onload="load()">
	<div id="detview" class="form">
			<div class="formTitle">
				<div class="l">单据预览</div>
				<div class="r">
					 <button onclick="WebPrint.print('content')">打  印</button>
					 <button onclick="WebPrint.preview('content')">预  览</button>
					 <button type="button" onclick="parent.back();">返  回</button>
			 	</div>
		  	</div>
			<div id="content"></div>
	 </div>
</body>
</html>